<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增工艺配方</title>
</head>
<body>
    <form class="form-horizontal" role="form" style="padding:15px;">
        <div class="form-group">
            <label for="addRecipeCode" class="col-md-3 control-label">代码: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addRecipeCode" placeholder="请输入新增工艺配方代码">
            </div>
        </div>
        <div class="form-group">
            <label for="addRecipeName" class="col-md-3 control-label">名称: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addRecipeName" placeholder="请输入新增工艺配方名称">
            </div>
        </div>
        <div class="form-group">
            <label for="matCode" class="col-md-3 control-label">产品代码: </label>
            <div class="col-md-8">
                <div class="input-group">
                    <input type="text" class="form-control" id="matCode" placeholder="请选择产品代码" readonly="true">
                    <span class="input-group-btn"><button id="selectProduBtn" class="btn btn-default" type="button">选择</button> </span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="addMinBatch" class="col-md-3 control-label">最小批量: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addMinBatch" placeholder="请输入最小批量">
            </div>
        </div>
        <div class="form-group">
            <label for="addMaxBatch" class="col-md-3 control-label">最大批量: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addMaxBatch" placeholder="请输入最大批量">
            </div>
        </div>
        <div class="form-group">
            <label for="addBatch" class="col-md-3 control-label">批量: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addBatch" placeholder="请输入新增工艺配方批量">
            </div>
        </div>
        <div class="form-group">
            <label for="addUnit" class="col-md-3 control-label">单位: </label>
            <div class="col-md-8">
                <div class="input-group">
                    <input type="text" class="form-control unit" id="addUnit" placeholder="请选择批量单位" readonly="true">
                    <span class="input-group-btn"><button id="selectUnitBtn" class="btn btn-default" type="button">选择</button> </span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="addRegistNo" class="col-md-3 control-label">注册登记号: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="addRegistNo" placeholder="请输入注册登记号">
            </div>
        </div>
        <div class="form-group">
            <label for="addBOM" class="col-md-3 control-label">物料BOM: </label>
            <div class="col-md-8">
                <div class="input-group">
                    <input type="text" class="form-control" id="addBOM" placeholder="请选择物料BOM" readonly="true">
                    <span class="input-group-btn"><button id="selectBomBtn" class="btn btn-default" type="button">选择</button> </span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="addPath" class="col-md-3 control-label">工艺路径: </label>
            <div class="col-md-8">
                <div class="input-group">
                    <input type="text" class="form-control" id="addPath" placeholder="请选择工艺路径" readonly="true">
                    <span class="input-group-btn"><button id="selectPathBtn" class="btn btn-default" type="button">选择</button> </span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="description" class="col-md-3 control-label">备注: </label>
            <div class="col-md-8">
                <input type="text" class="form-control" id="description" placeholder="请输入备注">
            </div>
        </div>
        <div class="form-group">
            <label for="addReason" class="col-md-3 control-label">新增理由: </label>
            <div class="col-md-8">
                <textarea id="addReason" class="form-control" placeholder="请输入描述新增理由" rows="5"></textarea>
            </div>
        </div>
        <div class="form-group" style = "margin-top: 20px">
            <div class="col-md-12">
                <div class="col-md-6" style="text-align: right">
                    <button type="button" id="recipeAddConfirm" class="btn btn-custom" onclick="addConfirm()">确定</button>
                </div>
                <div class="col-md-6" style="text-align: center">
                    <button type="button" id="recipemAddCancel" class="btn btn-custom" onclick="addCancel()">取消</button>
                </div>
            </div>
        </div>
    </form>
</body>
</html>